<div class="teamSeasonStatistics index">
<h2><?php __('TeamSeasonStatistics');?></h2>
<p>
<?php
echo $paginator->counter(array(
'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
));
?></p>
<table cellpadding="0" cellspacing="0">
<tr>
	<th><?php echo $paginator->sort('id');?></th>
	<th><?php echo $paginator->sort('team_id');?></th>
	<th><?php echo $paginator->sort('iMatchPlayed');?></th>
	<th><?php echo $paginator->sort('iMVP');?></th>
	<th><?php echo $paginator->sort('Inflicted_iPasses');?></th>
	<th><?php echo $paginator->sort('Inflicted_iCatches');?></th>
	<th><?php echo $paginator->sort('Inflicted_iInterceptions');?></th>
	<th><?php echo $paginator->sort('Inflicted_iTouchdowns');?></th>
	<th><?php echo $paginator->sort('Inflicted_iCasualties');?></th>
	<th><?php echo $paginator->sort('Inflicted_iTackles');?></th>
	<th><?php echo $paginator->sort('Inflicted_iKO');?></th>
	<th><?php echo $paginator->sort('Inflicted_iInjuries');?></th>
	<th><?php echo $paginator->sort('Inflicted_iDead');?></th>
	<th><?php echo $paginator->sort('Inflicted_iMetersRunning');?></th>
	<th><?php echo $paginator->sort('Inflicted_iMetersPassing');?></th>
	<th><?php echo $paginator->sort('Sustained_iPasses');?></th>
	<th><?php echo $paginator->sort('Sustained_iCatches');?></th>
	<th><?php echo $paginator->sort('Sustained_iInterceptions');?></th>
	<th><?php echo $paginator->sort('Sustained_iTouchdowns');?></th>
	<th><?php echo $paginator->sort('Sustained_iCasualties');?></th>
	<th><?php echo $paginator->sort('Sustained_iTackles');?></th>
	<th><?php echo $paginator->sort('Sustained_iKO');?></th>
	<th><?php echo $paginator->sort('Sustained_iInjuries');?></th>
	<th><?php echo $paginator->sort('Sustained_iDead');?></th>
	<th><?php echo $paginator->sort('Sustained_iMetersRunning');?></th>
	<th><?php echo $paginator->sort('Sustained_iMetersPassing');?></th>
	<th><?php echo $paginator->sort('iPoints');?></th>
	<th><?php echo $paginator->sort('iWins');?></th>
	<th><?php echo $paginator->sort('iDraws');?></th>
	<th><?php echo $paginator->sort('iLoss');?></th>
	<th><?php echo $paginator->sort('iBestMatchRating');?></th>
	<th><?php echo $paginator->sort('Average_iMatchRating');?></th>
	<th><?php echo $paginator->sort('Average_iSpectators');?></th>
	<th><?php echo $paginator->sort('Average_iCashEarned');?></th>
	<th><?php echo $paginator->sort('iSpectators');?></th>
	<th><?php echo $paginator->sort('iCashEarned');?></th>
	<th><?php echo $paginator->sort('iPossessionBall');?></th>
	<th><?php echo $paginator->sort('Occupation_iOwn');?></th>
	<th><?php echo $paginator->sort('Occupation_iTheir');?></th>
	<th><?php echo $paginator->sort('season_id');?></th>
	<th><?php echo $paginator->sort('bFinished');?></th>
	<th class="actions"><?php __('Actions');?></th>
</tr>
<?php
$i = 0;
foreach ($teamSeasonStatistics as $teamSeasonStatistic):
	$class = null;
	if ($i++ % 2 == 0) {
		$class = ' class="altrow"';
	}
?>
	<tr<?php echo $class;?>>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['id']; ?>
		</td>
		<td>
			<?php echo $html->link($teamSeasonStatistic['Team']['id'], array('controller' => 'teams', 'action' => 'view', $teamSeasonStatistic['Team']['id'])); ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['iMatchPlayed']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['iMVP']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['Inflicted_iPasses']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['Inflicted_iCatches']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['Inflicted_iInterceptions']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['Inflicted_iTouchdowns']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['Inflicted_iCasualties']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['Inflicted_iTackles']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['Inflicted_iKO']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['Inflicted_iInjuries']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['Inflicted_iDead']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['Inflicted_iMetersRunning']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['Inflicted_iMetersPassing']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['Sustained_iPasses']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['Sustained_iCatches']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['Sustained_iInterceptions']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['Sustained_iTouchdowns']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['Sustained_iCasualties']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['Sustained_iTackles']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['Sustained_iKO']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['Sustained_iInjuries']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['Sustained_iDead']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['Sustained_iMetersRunning']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['Sustained_iMetersPassing']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['iPoints']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['iWins']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['iDraws']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['iLoss']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['iBestMatchRating']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['Average_iMatchRating']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['Average_iSpectators']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['Average_iCashEarned']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['iSpectators']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['iCashEarned']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['iPossessionBall']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['Occupation_iOwn']; ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['Occupation_iTheir']; ?>
		</td>
		<td>
			<?php echo $html->link($teamSeasonStatistic['Season']['id'], array('controller' => 'seasons', 'action' => 'view', $teamSeasonStatistic['Season']['id'])); ?>
		</td>
		<td>
			<?php echo $teamSeasonStatistic['TeamSeasonStatistic']['bFinished']; ?>
		</td>
		<td class="actions">
			<?php echo $html->link(__('View', true), array('action' => 'view', $teamSeasonStatistic['TeamSeasonStatistic']['id'])); ?>
			<?php echo $html->link(__('Edit', true), array('action' => 'edit', $teamSeasonStatistic['TeamSeasonStatistic']['id'])); ?>
			<?php echo $html->link(__('Delete', true), array('action' => 'delete', $teamSeasonStatistic['TeamSeasonStatistic']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $teamSeasonStatistic['TeamSeasonStatistic']['id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
</table>
</div>
<div class="paging">
	<?php echo $paginator->prev('<< '.__('previous', true), array(), null, array('class'=>'disabled'));?>
 | 	<?php echo $paginator->numbers();?>
	<?php echo $paginator->next(__('next', true).' >>', array(), null, array('class' => 'disabled'));?>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('New TeamSeasonStatistic', true), array('action' => 'add')); ?></li>
		<li><?php echo $html->link(__('List Teams', true), array('controller' => 'teams', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Team', true), array('controller' => 'teams', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Seasons', true), array('controller' => 'seasons', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Season', true), array('controller' => 'seasons', 'action' => 'add')); ?> </li>
	</ul>
</div>
